import request from "@/utils/request";

export function deleteMessage(param) {
    return request({
        url:'/admin/messages',
        method:'delete',
        data:param.data
    })
}

export function updateMessageReview(param) {
    return request({
        url:'/admin/messages/review',
        method:'put',
        data:param
    })
}

export function listMessages(param) {
    return request({
        url:'/admin/messages',
        method:'get',
        params:param
    })
}
